﻿using System.Data.Entity;

namespace Model
{
    public class Context : DbContext
    {
        public Context()
            : base("name=ElectronicStore")
        {
        }
                
        public DbSet<Attachment> Attachments { get; set; }
        public DbSet<Role> Roles { get; set; }
        public DbSet<User> Users { get; set; }
        public DbSet<Configuration> Configurations { get; set; }
        public DbSet<Customer> Customers { get; set; }
        public DbSet<ProductType> ProductTypes { get; set; }
        public DbSet<Product> Products { get; set; }
        public DbSet<ProductLD> ProductLDs { get; set; }
        public DbSet<Vehicle> Vehicles { get; set; }
        public DbSet<Email> Emails { get; set; }
        public DbSet<Sms> Smss { get; set; }
        public DbSet<Order> Orders { get; set; }
        public DbSet<OrderDetail> OrderDetails { get; set; }
        public DbSet<Delivery> Deliveries { get; set; }

        public DbSet<DeliveryDetail> DeliveryDetails { get; set; }

        public DbSet<City> Cities { get; set; }

        public DbSet<Locking> Lockings { get; set; }

        public DbSet<EmailData> EmailDatas { get; set; }

        public DbSet<SmsData> SmsDatas { get; set; }
        
    }
}
